﻿@{
    ViewBag.Title = "ZtzlList";
    Layout = "~/Views/Shared/_Layout.cshtml";
    string docClsName = "专题专栏列表";
    string navi = "当前位置：首页 > 专题专栏列表";
    Dictionary<string, string> zlOldDic = ViewData["zlOldDic"] == null ? new Dictionary<string, string>() : ViewData["zlOldDic"] as Dictionary<string, string>;
}
  <div class="list_content">
        <div class="lc_t"><h3>@docClsName</h3><span><a href="@Url.Action("Index", "Index")">首页</a> &gt; <a href="#">专题专栏列表</a></span></div>
   <div class="paging-content" style="height: auto">
           <table style="width: 98%" cellpadding="25px" cellspacing="25px">
      
          @{
                  @:<tr>  
                       int i = 0;

                foreach (KeyValuePair<string, string> dicZl in zlOldDic)
                {

                    if (i % 3 == 0 & i != 0 & i !=zlOldDic.Count)
                    {
                        @:</tr>
                            @:<tr>
                                  
                    }
                    <td><span><a href="/Column/ZtzlColumn?clsCd=@dicZl.Key">
                        <img src="@dicZl.Value" style="width: 227px; height: 47px" /></a> </span></td>
                  
                    i++;
                }
                 @:</tr>
                }
                 
          </table>
        </div>
   @* <table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="zy">
        <tr>
            <td valign="top" width="100%">
                <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" style="margin-top: 10px; margin-bottom: 10px;">
                    @{
                        int i = 1;

                        foreach (KeyValuePair<string, string> dicZl in zlOldDic)
                        {

                            if (i % 3 == 0 || i == 1)
                            {
                            @:<tr>
                                                                            }
                            <td style="padding-top: 10px;"> <a href="/Column/ZtzlColumn?clsCd=@dicZl.Key" target="_blank"> <img style="border:0" src="@dicZl.Value" width="253" height="69" /></a></td>

                            if (i % 3 == 0)
                            {
                        @:</tr>
                                                                            }
                            i++;

                        }
                                       
                    }
                </table>
            </td>
        </tr>
    </table>*@
</div>
